package Zuoye3.info;

public class classes {
    private int number1 = 55;
    private String name1 = "日常用品";

    public int getNumber1() {
        return number1;
    }

    public void setNumber1(int number1) {
        this.number1 = number1;
    }

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public void Center() {
        this.number1 = 55;
        this.name1 = "日常用品";
        System.out.println("类别编号："+number1+"\n类别名称："+name1);
    }
    //商品类别类：
    //属性：类别编号，类别名称
}
